moudule.exports.parse = function(str) {
    let obj = {}
    String(str).split('&').forEach((item, i) => {
        let temp = item.split('=')
        let key = temp[0]
        let val = temp[1]
        obj[key] = val
    })
    return obj
}
moudule.exports.stringify = function(obj) {
    let arr = []
    for (let key in obj) {
        arr.push(`${key}=${obj[key]}`)
    }
    return arr.join('&')
}